-
Notifications
You must be signed in to change notification settings - Fork 8.2k
RFC: twister: Include coverage support for device testing #31245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
d72a791 to
1ef8646
Compare
|
@finikorg please rebase |
Allow to include coverage support for ehl_crb board. Signed-off-by: Andrei Emeltchenko <[email protected]>
Include coverage support for device testing. It works by switching capture_coverage to True (as it would meet coverage data start pattern). Then we continue tot read coverage data until we get coverage data end pattern. Otherwise, after receiving test result pattern, we close serial console and do not get time to find start coverage data pattern. Signed-off-by: Andrei Emeltchenko <[email protected]>
|
tested on ehl board, it could get coverage data, but for some testcases, the default timeout is not enough to get test results and all coverage data, it will timeout like below, the testcase is passed, but have not got all coverage data. DEBUG - Timed out while monitoring serial output on ehl_crb |
Yes, I found that for some tests we need to increase timeout. |
How much increase is needed, and for which tests? It sounds like this patch introduces this timeout issue. In the past it was important to address root cause of any significant increase to timeout needed for tests to complete, rather than make a significant change for only 1 HW platform that will effect all platforms and arches. If it is minimal increase in timeout, is that a separate PR to address this? |
where is the timeout being changed? |
What I mean is that:
|
Include coverage support for device testing. It works by switching
capture_coverage to True (as it would meet coverage data start
pattern). Then we continue tot read coverage data until we get
coverage data end pattern. Otherwise, after receiving test result
pattern, we close serial console and do not get time to find start
coverage data pattern.